package com.liu.demo.controller;

import com.liu.demo.exception.REnum;
import com.liu.demo.pojo.Student;
import com.liu.demo.pojo.User;
import com.liu.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
public class LoginController {

    @Autowired
    public UserService userService;

    @RequestMapping("/login")
    public String list(Model model){
        return "/login";
    }
}
